package com.settlement.system.model.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.settlement.system.common.base.BaseEntity;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;
import java.util.List;

/**
* <p>
* 退单明细
* </p>
*
* @author huangrensen
* @since 2024-08-02
*/
@Data
@AllArgsConstructor
@NoArgsConstructor
public class OdsOmsRetailReturnOrderDetails implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
    * 明细唯一id
    */
    private Long lineNo;


    private Long orderGoodsLineNo;


    /**
    * 商品
    */
    private String goodsSn;


    /**
    * 商品
    */
    private String goodsName;


    /**
    * Sku
    */
    private Long skuId;


    /**
    * sku
    */
    private String sku;


    /**
    * 商品
    */
    private Long goodsId;


    /**
    * 退货
    */
    private Long goodsNumber;


    /**
    * 实际入库数量
    */
    private Long goodsNumberReturnSj;


    /**
    * 商品单价
    */
    private BigDecimal goodsPrice;


    /**
    * 当前售价
    */
    private BigDecimal shopPrice;


    /**
    * 均摊金额
    */
    private BigDecimal sharePrice;


    /**
    * 均摊实付金额
    */
    private BigDecimal sharePayment;


    private Integer isGift;


    /**
    * 商品 barcode
    */
    private String barcode;


    /**
    * 是否预购0否，1是
    */
    private Integer isYugou;


    /**
    * 套餐关联标记
    */
    private Long taocanLinkSign;


    /**
    * 实付金额
    */
    private BigDecimal payment;


    private String poNo;


    private String returnOrderId;


    private String goodsSname;


    private Integer isCombo;


    /**
    * 成本价
    */
    private BigDecimal cbj;


    /**
    * 颜色编码
    */
    private String colorCode;


    /**
    * 颜色名称
    */
    private String colorName;


    /**
    * 尺码编码
    */
    private String sizeCode;


    /**
    * 尺码名称
    */
    private String sizeName;


    /**
    * 品牌名称
    */
    private String brandName;


    private BigDecimal sjRkJtJe;


    private BigDecimal sjRkYhJe;


    /**
    * 退单编号
    */
    private String returnOrderSn;
    @TableField(exist = false)
    private List<String> returnOrderSnList;


    private LocalDateTime lastUpdate;

}
